package com.qzsf.backend.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/*
 * @Author: Dennis Chen
 * @CreateTime: 2024/11/17 19:25 周日
 * @Email 1429278462@qq.com
 * @Remark 活动详细数据传输类
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EventDetailDTO {
    private int id;
    private int typeId;
    private String typeName;
    private String name;
    private int number;
    private int remaining;
    private String location;
    private String description;
    private String pics;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    private double hours;
    private int authId;
    private String organizerName;
    private String organizerPic;
}
